<template>
  <div id="test">
    <img src="https://static.oschina.net/uploads/user/1171/2342105_200.jpg?"/>
    <p>test 测试</p>
    <ol>
      <li v-for="item in people">{{item.name}}</li>
    </ol>
  </div>
</template>

<script>
  export default {
    name: "Test",
    data () {
      return {
        people: [],
        person: {}
      }
    },
    created () {
      this.$http
        .get("/static/api/people.json")
        .then((response) => {
          this.people = response.data
        })
    }
  }
</script>

<style scoped>

</style>
